package com.edu.test;
/*
 * @Author:princess
 * @Date 2023/10/31 10 31 19:50
 *
 */

import com.edu.service.impl.StudentServiceImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTest5 {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring-ioc.xml");
        StudentServiceImpl s = context.getBean(StudentServiceImpl.class);
        s.selectStudent();
    }
}
